home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSAAAALLLLOOOOGGGG((((4444)))) SSSSAAAALLLLOOOOGGGG((((4444))))
-
-
-
- NNNNAAAAMMMMEEEE
- salog, salog.conf - system administration log
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g is the system administration log file. Whenever a
- privileged command is run by _r_u_n_p_r_i_v(1M), _r_u_n_p_r_i_v logs the command that
- was run to _s_a_l_o_g.
-
- The privilege commands themselves also log errors, warnings, and
- information messages to the log.
-
- Each line of _s_a_l_o_g is a semi-colon separated list of fields. The first
- field is the date and time that the message was logged. The second field
- is a number identifying the type of message: 0000 for an error, 1111 for a
- warning, 2222 for a command run by _r_u_n_p_r_i_v, or 3333 for an informational
- message.
-
- The third field is the process id of the process that logged the message.
- The fourth field is the user id, and the fifth field is the host name.
- The sixth field is a string identifying the source of the message; this
- is typically the name of the privileged command being run.
-
- The seventh field is either the message or the command that was run.
-
- The _v_i_e_w_l_o_g(1M) program can be used to view the contents of the log.
-
- /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g._c_o_n_f is a configuration file that controls how big
- _s_a_l_o_g can grow before it gets rotated to /_v_a_r/_s_y_s_a_d_m/_o_l_d_s_a_l_o_g and whether
- messages to _s_a_l_o_g also get forwarded to _s_y_s_l_o_g_d(1M). This configuration
- file is read by /_u_s_r/_l_i_b/_l_i_b_s_a_l_o_g._s_o, which is the library containing the
- routines that _r_u_n_p_r_i_v and the privileged commands use to write to _s_a_l_o_g.
-
- /_v_a_r/_s_y_s_a_d_m/_s_a_l_o_g._c_o_n_f is an ascii file. If it contains a line with the
- single word ssssyyyysssslllloooogggg in it, messages to _s_a_l_o_g will also be sent to _s_y_s_l_o_g_d.
- By default messages are not sent to _s_y_s_l_o_g_d. If _s_a_l_o_g._c_o_n_f contains a
- line with the string rrrroooottttssssiiiizzzzeeee====_s_i_z_e, then the log will be renamed to
- /_v_a_r/_s_y_s_a_d_m/_o_l_d_s_a_l_o_g and the previous contents of /_v_a_r/_s_y_s_a_d_m/_o_l_s_a_l_o_g
- will be lost when the size of _s_a_l_o_g reaches _s_i_z_e bytes. If _s_i_z_e is
- smaller than 5555111122220000, the value 5555111122220000 will be used instead. The default
- rotaion size is 1111000044448888555577776666.
-
- FFFFIIIILLLLEEEESSSS
- /var/sysadm/salog System administration log.
- /var/sysadm/oldsalog Old system administration log.
- /var/sysadm/salog.conf System administration log configuration file.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sysmgr(1M), viewlog(1M), setlogopt(1M), runpriv(1M), syslogd(1M).
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-